#include "CBullet.h"

CBullet::CBullet(): iType(-1), CUnit(){}

CBullet::CBullet(int inIType, CMath* inMaArea, float inFSpeedX, float inFSpeedY, int inIPower,  
	vector<ALLEGRO_BITMAP*>::const_iterator begin, vector<ALLEGRO_BITMAP*>::const_iterator end, CPoint inMaCoordinate):
	iType(inIType), CUnit(inMaArea, inFSpeedX, inFSpeedY, inIPower, begin, end, inMaCoordinate){}

int CBullet::GetIType(){
	return iType;
}

void CBullet::SetIType(int inIType){
	iType = inIType;
}